package paneles;

import java.awt.Color;
import java.util.Random;

import com.uqbar.vainilla.DeltaState;
import com.uqbar.vainilla.appearances.Rectangle;
import componentes.Bolita;
import componentes.ComponenteGolpeable;

public abstract class Panel extends ComponenteGolpeable{
	
	private Rectangle cuerpo;
	private double i;
	private double j;
	
	public Panel(int ancho, int alto, int x, int y) {
		this.cuerpo = new Rectangle(Color.RED, ancho, alto);
		this.setX(x);
		this.setY(y);
		this.setAppearance(this.cuerpo);
	}
	
	
	@Override
	public abstract void teGolpeoBolita(Bolita unaBolita);

}
